package com.hongyun.tms.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ID POST body参数
 *
 * @author lipeng
 * @date 2024-05-31
 */
@Data
public class IdDto implements Serializable {
    @ApiModelProperty(value = "id")
    @NotNull(message = "id不能为空")
    private Long id;
}
